package com.ruantu.clothing.dao.finance;

import java.util.List;
import java.util.Map;

import com.ruantu.clothing.entity.finance.FinanceRecord;

public interface FinanceRecordMapper {

    int deleteByPrimaryKey(String id);

    int insert(FinanceRecord record);

    int insertSelective(FinanceRecord record);

    FinanceRecord selectByPrimaryKey(String id);
    
    List<FinanceRecord> selectListByFinanceKey(Map<String, Object> map);
    
    int selectListByFinanceKeyCount(Map<String, Object> map);

    int updateByPrimaryKeySelective(FinanceRecord record);

    int updateByPrimaryKey(FinanceRecord record);
    
    String selectTodayMaxLSHByJG(String jgid);
    
}